how to implement array in c